using System;
using System.Diagnostics;
using System.Threading;

namespace HpcClusterControllerLinux
{
    class Program
    {
        static void Main(string[] args)
        {
			
			Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
			
            Controller f = new Controller(args[0]);
            LogWatcher.Setup(f);

            Console.WriteLine("OK!");

            while (true)
            {
                Thread.Sleep(20000);
            }
        }
    }
}
